#ifndef CLINETHREAD_H
#define CLINETHREAD_H
#include <QThread>
#include "pointstream.h"
class CLineThread : public QThread
{
   Q_OBJECT
public:
    explicit CLineThread(QList <PointStream *> *,QObject *parent);

   ~CLineThread();
   void run();

signals:
   void UpdateAxis( QString ); //更新坐标轴名称信号
   void SendInfo();   //更新数据
   void updatePlot();

private:
   static const int SAMPLE_GENERATION_PERIOD = 5; // 采样周期 5 ms
   int sampleNumber = 0;

   int m_size;//通道数
   int m_Count;//已绘制的点数
public:
   QList <PointStream *> *m_streamList;
   QStringList m_strList;
   bool m_bool;

};
#endif // CLINETHREAD_H
